home *** CD-ROM | disk | FTP | other *** search
/ Macwelt 1 / Macwelt DVD 1.toast / Software für Mac-OS X / Entwickler-Tools / netbeans / modules / ext / djava.jar / koala / dynamicjava / tree / ConstructorInvocation.class (.txt) < prev    next >
Encoding:
Java Class File  |  2000-03-14  |  1.7 KB  |  52 lines

  1. package koala.dynamicjava.tree;
  2.  
  3. import java.util.List;
  4. import koala.dynamicjava.tree.visitor.Visitor;
  5.  
  6. public class ConstructorInvocation extends PrimaryExpression implements ExpressionContainer {
  7.    public static final String ARGUMENTS = "arguments";
  8.    public static final String SUPER = "super";
  9.    private Expression expression;
  10.    private List arguments;
  11.    private boolean superCall;
  12.  
  13.    public Expression getExpression() {
  14.       return this.expression;
  15.    }
  16.  
  17.    public void setExpression(Expression var1) {
  18.       ((Node)this).firePropertyChange("expression", this.expression, this.expression = var1);
  19.    }
  20.  
  21.    public List getArguments() {
  22.       return this.arguments;
  23.    }
  24.  
  25.    public void setArguments(List var1) {
  26.       ((Node)this).firePropertyChange("arguments", this.arguments, this.arguments = var1);
  27.    }
  28.  
  29.    public boolean isSuper() {
  30.       return this.superCall;
  31.    }
  32.  
  33.    public void setSuper(boolean var1) {
  34.       ((Node)this).firePropertyChange("super", this.superCall, this.superCall = var1);
  35.    }
  36.  
  37.    public Object acceptVisitor(Visitor var1) {
  38.       return var1.visit(this);
  39.    }
  40.  
  41.    public ConstructorInvocation(Expression var1, List var2, boolean var3) {
  42.       this(var1, var2, var3, (String)null, 0, 0, 0, 0);
  43.    }
  44.  
  45.    public ConstructorInvocation(Expression var1, List var2, boolean var3, String var4, int var5, int var6, int var7, int var8) {
  46.       super(var4, var5, var6, var7, var8);
  47.       this.expression = var1;
  48.       this.arguments = var2;
  49.       this.superCall = var3;
  50.    }
  51. }
  52.